import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { LevelExperienceEntity } from "../../entities/level-experience.entity";
import { LevelExperienceService } from "../../services/level-experience.service";

/**
 * 等级经验模块
 * 提供等级经验相关的功能，主要用于WebSocket查询
 */
@Module({
  imports: [TypeOrmModule.forFeature([LevelExperienceEntity])],
  providers: [LevelExperienceService],
  exports: [LevelExperienceService], // 导出服务，供其他模块使用
})
export class LevelExperienceModule {}
